/*
 * Copyright ©2018 贾维程. All rights reserved.
 */

package com.rtmart.imageupload.repository;

import com.rtmart.imageupload.entity.Supplier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface SupplierRepository extends JpaRepository<Supplier, Long>,JpaSpecificationExecutor {
    Boolean existsByName(String name);
}
